package com.hospital.workstation.service;

import com.hospital.workstation.domain.EvidenceBasedMedicine;
import com.hospital.workstation.domain.vo.EvidenceBasedMedicineVo;
import com.hospital.workstation.domain.bo.EvidenceBasedMedicineBo;
import com.hospital.common.core.page.TableDataInfo;
import com.hospital.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 循证医学相关数据Service接口
 *
 * @author hospital
 * @date 2023-03-20
 */
public interface IEvidenceBasedMedicineService {

    /**
     * 查询循证医学相关数据
     */
    EvidenceBasedMedicineVo queryById(Long id);

    /**
     * 查询循证医学相关数据列表
     */
    TableDataInfo<EvidenceBasedMedicineVo> queryPageList(EvidenceBasedMedicineBo bo, PageQuery pageQuery);

    /**
     * 查询循证医学相关数据列表
     */
    List<EvidenceBasedMedicineVo> queryList(EvidenceBasedMedicineBo bo);

    /**
     * 新增循证医学相关数据
     */
    Boolean insertByBo(EvidenceBasedMedicineBo bo);

    /**
     * 修改循证医学相关数据
     */
    Boolean updateByBo(EvidenceBasedMedicineBo bo);

    /**
     * 校验并批量删除循证医学相关数据信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
